package com.sena.crawler.enums;

/**
 * @author Admin
 */

public enum LinkTypeEnums {
    DIE_LINK("DIE_LINK", "死连地址"),
    HIDDEN_LINK("HIDDEN_LINK", "暗链地址"),
    COMMON_LINK("COMMON_LINK", "内部连接地址"),
    OUTER_LINK("OUTER_LINK", "外部连接地址"),
    FILE_LINK("FILE_LINK", "文件连接"),
    KEY_WORLD("KEY_WORLD", "关键字"),
    ROOT_LINK("ROOT_LINK", "根节点"),
    DETAIL_LINK("DETAIL_LINK","分页详情"),
    PAGE_LINK("PAGE_LINK", "分页link"),
    COUNT_LINK("COUNT_DATA", "计数url"),
    UN_VISITED_URL("UN_VISITED_URL", "未访问连接"),
    VISITED_URL("VISITED_URL", "已经访问连接"),
    REGEX_DATA("REGEX_DATA", "正则");



    LinkTypeEnums(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     *
     */
    private Integer index = null;
    private String code;
    /**
     * 描述
     */
    private String desc = null;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
